package com.ktgj.customer.mapper;

import java.util.List;
import com.ktgj.customer.domain.CommonFeedback;

/**
 * 意见反馈Mapper接口
 * 
 * @author ruoyi
 * @date 2021-11-22
 */
public interface CommonFeedbackMapper 
{
    /**
     * 查询意见反馈
     * 
     * @param feedbackId 意见反馈ID
     * @return 意见反馈
     */
    public CommonFeedback selectCommonFeedbackById(Long feedbackId);

    /**
     * 查询意见反馈列表
     * 
     * @param commonFeedback 意见反馈
     * @return 意见反馈集合
     */
    public List<CommonFeedback> selectCommonFeedbackList(CommonFeedback commonFeedback);

    /**
     * 新增意见反馈
     * 
     * @param commonFeedback 意见反馈
     * @return 结果
     */
    public int insertCommonFeedback(CommonFeedback commonFeedback);

    /**
     * 修改意见反馈
     * 
     * @param commonFeedback 意见反馈
     * @return 结果
     */
    public int updateCommonFeedback(CommonFeedback commonFeedback);

    /**
     * 删除意见反馈
     * 
     * @param feedbackId 意见反馈ID
     * @return 结果
     */
    public int deleteCommonFeedbackById(Long feedbackId);

    /**
     * 批量删除意见反馈
     * 
     * @param feedbackIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteCommonFeedbackByIds(Long[] feedbackIds);

    /**
     * 写新反馈
     * */
    public int insertCommonFeedbackByFeedbackId(CommonFeedback commonFeedback);

    /**
     * 查看历史
     * */
    public List<CommonFeedback> selectCommonFeedbackByCustomerId(Long customerId);
}
